/** @format */

import { stringify } from 'qs'
import request from '../utils/request'

// 企业验证码登录 1.0
export function companyLoginByValidationCode(params) {
    return request.post(`/company-login-by-validation-code`, params, true)
}

// 获取验证码 1.0
export function getValidationCode(params) {
    return request(`/get-validation-code?${stringify(params)}`)
}

// 验证码登录 1.0
export function loginByValidationCode(params) {
    return request.post(`/login-by-validation-code`, params, true)
}